﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using DTO;
using DAO;

namespace BUS
{
    public class phong_BUS
    {
        public static DataSet loadthongtinphongvaolist()
        {
            return phong_DAO.loadthongtinphongvaolist();
        }
        public static bool kiemtratinhtrangphong(phong_DTO p)
        {
            return phong_DAO.kiemtratinhtrangphong(p);
        }
        public static DataSet timphong(phong_DTO p)
        {
            return phong_DAO.timphong(p);
        }
        public static DataSet loadphong()
        {
            return phong_DAO.loadphong();
        }
        public static DataSet loadloaiphong()
        {
            return phong_DAO.loadloaiphong();
        }
        public static DataSet thongtinloaiphong()
        {
            return phong_DAO.thongtinloaiphong();
        }
        public static bool themphong(phong_DTO p)
        {
            return phong_DAO.themphong(p);
        }
        public static bool xoaphong(phong_DTO p)
        {
            return phong_DAO.xoaphong(p);
        }
        public static bool suaphong(phong_DTO p)
        {
            return phong_DAO.suaphong(p);
        }
    }
}
